package com.simple.service;

import com.simple.common.PageResult;
import com.simple.dto.IncomeDTO;

import java.util.List;

/**
 * @ClassName IncomeService
 * @Author SimpleTree
 **/
public interface IncomeService {
    PageResult getIncomes(IncomeDTO incomeDTO);

    IncomeDTO getIncomeById(Integer id);

    void saveIncome(IncomeDTO incomeDTO);

    void updateIncome(IncomeDTO incomeDTO);

    void deleteByIds(List<Integer> ids);
}
